44 research outputs found

    libcloudph++ 0.2: single-moment bulk, double-moment bulk, and particle-based warm-rain microphysics library in C++

    Full text link
    This paper introduces a library of algorithms for representing cloud microphysics in numerical models. The library is written in C++, hence the name libcloudph++. In the current release, the library covers three warm-rain schemes: the single- and double-moment bulk schemes, and the particle-based scheme with Monte-Carlo coalescence. The three schemes are intended for modelling frameworks of different dimensionality and complexity ranging from parcel models to multi-dimensional cloud-resolving (e.g. large-eddy) simulations. A two-dimensional prescribed-flow framework is used in example simulations presented in the paper with the aim of highlighting the library features. The libcloudph++ and all its mandatory dependencies are free and open-source software. The Boost.units library is used for zero-overhead dimensional analysis of the code at compile time. The particle-based scheme is implemented using the Thrust library that allows to leverage the power of graphics processing units (GPU), retaining the possibility to compile the unchanged code for execution on single or multiple standard processors (CPUs). The paper includes complete description of the programming interface (API) of the library and a performance analysis including comparison of GPU and CPU setups.Comment: The library description has been updated to the new library API (i.e. v0.1 -> v0.2 update). The key difference is that the model state variables are now mixing ratios as opposed to densities. The particle-based scheme was supplemented with the "particle recycling" process. Numerous editorial corrections were mad

    Diffusional and accretional growth of water drops 19

    Get PDF
    Abstract. A large set of rising adiabatic parcel simulations is executed to investigate the combined diffusional and accretional growth of cloud droplets in maritime and continental conditions, and to assess the impact of enhanced droplet collisions due to small-scale cloud turbulence. The microphysical model applies the droplet number density function to represent spectral evolution of cloud and rain/drizzle drops, and various numbers of bins in the numerical implementation, ranging from 40 to 320. Simulations are performed applying two traditional gravitational collection kernels and two kernels representing collisions of cloud droplets in the turbulent environment, with turbulent kinetic energy dissipation rates of 100 and 400 cm 2 s −3 . The overall result is that the rain initiation time significantly depends on the number of bins used, with earlier initiation of rain when the number of bins is low. This is explained as a combination of the increase of the width of activated droplet spectrum and enhanced numerical spreading of the spectrum during diffusional and collisional growth when the number of model bins is low. Simulations applying around 300 bins seem to produce rain at times which no longer depend on the number of bins, but the activation spectra are unrealistically narrow. These results call for an improved representation of droplet activation in numerical models of the type used in this study. Despite the numerical effects that impact the rain initiation time in different simulations, the turbulent speedup factor, the ratio of the rain initiation time for the turbulent collection kernel and the corresponding time for the gravitational kernel, is approximately independent of aerosol characteristics, parcel vertical velocity, and the number of bins used in the numerical model. The turbulent speedup factor is in the range 0.75−0.85 and 0.60−0.75 for the turbulent kinetic energy dissipation rates of 100 and 400 cm 2 s −3 , respectively

    Kinematic and Dynamic Pair Collision Statistics of Sedimenting Inertial Particles Relevant to Warm Rain Initiation

    Get PDF
    In recent years, direct numerical simulation (DNS) approach has become a reliable tool for studying turbulent collision-coalescence of cloud droplets relevant to warm rain development. It has been shown that small-scale turbulent motion can enhance the collision rate of droplets by either enhancing the relative velocity and collision efficiency or by inertia-induced droplet clustering. A hybrid DNS approach incorporating DNS of air turbulence, disturbance flows due to droplets, and droplet equation of motion has been developed to quantify these effects of air turbulence. Due to the computational complexity of the approach, a major challenge is to increase the range of scales or size of the computation domain so that all scales affecting droplet pair statistics are simulated. Here we discuss our on-going work in this direction by improving the parallel scalability of the code, and by studying the effect of large-scale forcing on pair statistics relevant to turbulent collision. New results at higher grid resolutions show a saturation of pair and collision statistics with increasing flow Reynolds number, for given Kolmogorov scales and small droplet sizes. Furthermore, we examine the orientation dependence of pair statistics which reflects an interesting coupling of gravity and droplet clustering

    Kinematic and Dynamic Collision Statistics of Cloud Droplets From High-Resolution Simulations

    Get PDF
    We study the dynamic and kinematic collision statistics of cloud droplets for a range of flow Taylor microscale Reynolds numbers (up to 500), using a highly scalable hybrid direct numerical simulation approach. Accurate results of radial relative velocity (RRV) and radial distribution function (RDF) at contact have been obtained by taking advantage of their power-law scaling at short separation distances. Three specific but inter-related questions have been addressed in a systematic manner for geometric collisions of same-size droplets (of radius from 10 to 60 μm) in a typical cloud turbulence (dissipation rate at 400 cm2 s-3. Firstly, both deterministic and stochastic forcing schemes were employed to test the sensitivity of the simulation results on the large-scale driving mechanism. We found that, in general, the results are quantitatively similar, with the deterministic forcing giving a slightly larger RDF and collision kernel. This difference, however, is negligible for droplets of radius less than 30 μm. Secondly, we have shown that the dependence of pair statistics on the flow Reynolds number Rλ or larger scale fluid motion is of secondary importance, with a tendency for this effect to saturate at high enough Rλ leading to Rλ-independent results. Both DNS results and theoretical arguments show that the saturation happens at a smaller Rλ for smaller droplets. Finally, since most previous studies of turbulent collision of inertial particles concerned non-sedimenting particles, we have specifically addressed the role of gravity on collision statistics, by simultaneously simulating collision statistics with and without gravity. It is shown that the collision statistics is not affected by gravity when a \u3c ac, where the critical droplet radius ac is found to be around 30 μm for the RRV, and around 20 μm for the RDF. For larger droplets, gravity alters the particle-eddy interaction time and significantly reduces the RRV. The effect of gravity on the RDF is rather complex: gravity reduces the RDF for intermediate-sized droplets but enhances the RDF for larger droplets. In addition, we have studied the scaling exponents of both RDF and RRV, and found that gravity modifies the RDF scaling exponents for both intermediate and large particles, in a manner very similar to the effect of gravity on the RDF at contact. Gravity is shown to cause the scaling exponents for RDF and RRV to level off for large droplets, in contrast to diminishing exponents for non-sedimenting particles

    Towards an Integrated Multiscale Simulation of Turbulent Clouds on PetaScale Computers

    Get PDF
    The development of precipitating warm clouds is affected by several effects of small-scale air turbulence including enhancement of droplet-droplet collision rate by turbulence, entrainment and mixing at the cloud edges, and coupling of mechanical and thermal energies at various scales. Large-scale computation is a viable research tool for quantifying these multiscale processes. Specifically, top-down large-eddy simulations (LES) of shallow convective clouds typically resolve scales of turbulent energy-containing eddies while the effects of turbulent cascade toward viscous dissipation are parameterized. Bottom-up hybrid direct numerical simulations (HDNS) of cloud microphysical processes resolve fully the dissipation-range flow scales but only partially the inertial subrange scales. it is desirable to systematically decrease the grid length in LES and increase the domain size in HDNS so that they can be better integrated to address the full range of scales and their coupling. In this paper, we discuss computational issues and physical modeling questions in expanding the ranges of scales realizable in LES and HDNS, and in bridging LES and HDNS. We review our on-going efforts in transforming our simulation codes towards PetaScale computing, in improving physical representations in LES and HDNS, and in developing better methods to analyze and interpret the simulation results

    Highly symmetric POVMs and their informational power

    Get PDF
    We discuss the dependence of the Shannon entropy of normalized finite rank-1 POVMs on the choice of the input state, looking for the states that minimize this quantity. To distinguish the class of measurements where the problem can be solved analytically, we introduce the notion of highly symmetric POVMs and classify them in dimension two (for qubits). In this case we prove that the entropy is minimal, and hence the relative entropy (informational power) is maximal, if and only if the input state is orthogonal to one of the states constituting a POVM. The method used in the proof, employing the Michel theory of critical points for group action, the Hermite interpolation and the structure of invariant polynomials for unitary-antiunitary groups, can also be applied in higher dimensions and for other entropy-like functions. The links between entropy minimization and entropic uncertainty relations, the Wehrl entropy and the quantum dynamical entropy are described.Comment: 40 pages, 3 figure
    corecore